package com.itheima.reggie.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.itheima.reggie.common.R;
import com.itheima.reggie.entity.Dish;
import com.itheima.reggie.dto.DishDto;

/**
 * @author : [wangtao]
 * @className : DishService
 * @description : [描述说明该类的功能]
 * @createTime : [2022/10/9 18:48]
 * @updateTime : [2022/10/9 18:48]
 */

public interface DishService extends IService<Dish> {

    public R<String> SaveDish(DishDto dish);

    public R<Page<Dish>> pageInfo(int page, int pageSize, String name);
    public void  updatesave(DishDto dish);
}
